<!--{template vheader}-->

<!--{if $op == "use"}-->

	<!--{if !$frombuy}-->
	<h1>使用道具</h1>
	<a class="float_del" title="关闭" href="javascript:hideMenu();">关闭</a>
	<!--{/if}-->
	<div class="toolly" id="__magicuse_form_$mid" style="width:650px;overflow: hidden;">
		<form method="post" id="magicuse_form_$mid" action="magic.php?mid=$mid&idtype=$idtype&id=$id">
			
			<div class="magic_info" style="width:650px;overflow: hidden;">
				<h3>超级空间 (给空间头部加个动画)>>>最多拥有个数: $usermagic[count]>>>请选择样式</h3>
				<div>
					<ul>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar1').innerHTML;$('star1').click();">
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/1.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star1" type="radio" name="star" value="1" checked />
							选择
						</li>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar2').innerHTML;$('star2').click();">
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/2.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star2" type="radio" name="star" value="2" />
							选择
						</li>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar3').innerHTML;$('star3').click();">
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/3.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star3" type="radio" name="star" value="3" />
							选择
						</li>
						<li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar4').innerHTML;$('star4').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/4.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star4" type="radio" name="star" value="4" />
							选择
						</li>
                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar5').innerHTML;$('star5').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/5.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star5" type="radio" name="star" value="5" />
							选择
						</li>

                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar6').innerHTML;$('star6').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/6.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star6" type="radio" name="star" value="6" />
							选择
						</li>
                                                 <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar7').innerHTML;$('star7').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/7.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star7" type="radio" name="star" value="7" />
							选择
						</li>
                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar8').innerHTML;$('star8').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/8.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star8" type="radio" name="star" value="8" />
							选择
						</li>

                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar9').innerHTML;$('star9').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/9.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star9" type="radio" name="star" value="9" />
							选择
						</li>
                                                 <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar10').innerHTML;$('star10').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/10.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star10" type="radio" name="star" value="10" />
							选择
						</li>
                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar11').innerHTML;$('star11').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/11.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star11" type="radio" name="star" value="11" />
							选择
						</li>

                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar12').innerHTML;$('star12').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/12.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star12" type="radio" name="star" value="12" />
							选择
						</li>
                                                 <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar13').innerHTML;$('star13').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/13.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star13" type="radio" name="star" value="13" />
							选择
						</li>
                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar14').innerHTML;$('star14').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/14.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star14" type="radio" name="star" value="14" />
							选择
						</li>

                                                <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar15').innerHTML;$('star15').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/15.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star15" type="radio" name="star" value="15" />
							选择
						</li>
                                                 <li style="float:left; width:60px; margin:4px; cursor:pointer;" onclick="$('superstar').innerHTML = $('superstar16').innerHTML;$('star16').click();" >
							<div style="display:block; margin:0; width:50px; height:50px;"><img src="image/magic/star/16.preview.jpg" style="width:50px; height:50px;"/></div>
							<input id="star16" type="radio" name="star" value="16" />
							选择
						</li>
                                              
					</ul>
					<br style="clear:both;"/>
				</div>
				<p class="btn_line">
					<input type="hidden" name="formhash" value="<!--{eval echo formhash()}-->" />
					<input type="hidden" name="refer" value="$_SGLOBAL[refer]"/>
					<input type="hidden" name="usesubmit" value="1" />
					<input type="submit" name="usesubmit_btn" value="使用" class="submit" />
				</p>
			</div>
		</form>
	</div>
	<div id="superstar1" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/1.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
	<div id="superstar2" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/2.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/2.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
	<div id="superstar3" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/3.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
	<div id="superstar4" style="display:none;">
	<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="200" height="250">
		<param name="movie" value="image/magic/star/4.swf" />
		<param name="quality" value="high" />
		<param NAME="wmode" value="transparent">
		<embed src="image/magic/star/4.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"  wmode="transparent" width="200" height="250"></embed>
	</object>
	</div>
<!--{/if}-->

<!--{template footer}-->